package cn.sherer.beans.douyin.playlet;

import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;

/**
 * 抖音短剧结果
 */
public class DyPlayletAlbumResult implements Serializable {
    private int version;
    private long album_id;
    private Map<String, Long> episode_id_map;

    public DyPlayletAlbumResult() {
    }

    public DyPlayletAlbumResult(int version, long album_id, Map<String, Long> episode_id_map) {
        this.version = version;
        this.album_id = album_id;
        this.episode_id_map = episode_id_map;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public long getAlbum_id() {
        return album_id;
    }

    public void setAlbum_id(long album_id) {
        this.album_id = album_id;
    }

    public Map<String, Long> getEpisode_id_map() {
        return episode_id_map == null ? new HashMap<>() : episode_id_map;
    }

    public void setEpisode_id_map(Map<String, Long> episode_id_map) {
        this.episode_id_map = episode_id_map == null ? new HashMap<>() : episode_id_map;
    }

    @Override
    public String toString() {
        return "DyPlayletAlbumResult{" + "version=" + version + ", album_id=" + album_id + ", episode_id_map=" + episode_id_map + '}';
    }
}
